package edu.hunau.tx;

import edu.hunau.aop.advice.MethodIntercept;

/**
 * @author hb
 * @date 2022-11-29 11:46:37
 */
public class TransactionManager implements MethodIntercept {
    @Override
    public void before() {
        System.out.println("\t【额外功能】开启事务");
    }

    @Override
    public void after() {
        System.out.println("\t【额外功能】提交事务");
    }
}
